package com.cf.service;

import com.cf.performance.core.Performance;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * boot-performance-Service1
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/7/19 下午 02:36
 */
@Service
public class Service2 {

    @Autowired
    private Service3 service3;

    @Performance
    public String s2() throws InterruptedException {
        Thread.sleep(12);
        return "s2" + service3.s3();
    }

}
